// 新闻文章数据模型
export interface NewsArticle {
  id: string
  title: string
  summary: string
  content: string
  category: 'AI' | 'Blockchain' | 'Hardware' | 'Startup' | 'Mobile'
  tags: string[]
  author: {
    name: string
    avatar: string
    title: string
  }
  publishTime: number
  readCount: number
  likeCount: number
  coverImage: string
  priority: 'breaking' | 'featured' | 'hot' | 'normal'
  readingTime: number
}

// 分类数据模型
export interface Category {
  id: string
  name: string
  icon: string
  color: string
  count: number
}

// API响应数据模型
export interface ApiResponse<T> {
  code: number
  message: string
  data: T
}

// 分页数据模型
export interface PaginationData<T> {
  list: T[]
  total: number
  page: number
  pageSize: number
}

// 搜索参数
export interface SearchParams {
  keyword?: string
  category?: string
  tags?: string[]
  page?: number
  pageSize?: number
}